package com.czz.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.czz.manage.entity.Ad;
import com.czz.manage.query.AdQuery;

/**
 * @ClassName: AdService
 * @Author Czz
 * @Date 2020/2/5
 * @Time 17:28
 **/
public interface AdService extends IService<Ad> {
    void getAdPageList(Page<Ad> pageParam, AdQuery adQuery);
    void updateAdStatusById(String id, Integer status);
    Boolean deleteAdById(String id);
    void updateAdById(Ad ad);
}
